package com.runner.utility;

import com.badlogic.gdx.Preferences;

public class Unlocks {

	private boolean ringerTrack2;
	private boolean april;
	private boolean aprilTrack2;
	private boolean geo;
	private boolean geoTrack2;
	private boolean ringerTutorial,aprilTutorial,geoTutorial;
	
	public Unlocks(){
		
	}
	
	public void saveLocal(Preferences prefs) {
		prefs.putBoolean("ringerTrack2", ringerTrack2);
		prefs.putBoolean("april", april);
		prefs.putBoolean("aprilTrack2", aprilTrack2);
		prefs.putBoolean("geo", geo);
		prefs.putBoolean("geoTrack2", geoTrack2);
		
		prefs.putBoolean("ringerTutorial", ringerTutorial);
		prefs.putBoolean("aprilTutorial", aprilTutorial);
		prefs.putBoolean("geoTutorial", geoTutorial);
	}

	public void loadLocal(Preferences prefs) {
		ringerTrack2=prefs.getBoolean("ringerTrack2",false);
		april=prefs.getBoolean("april",false);
		aprilTrack2=prefs.getBoolean("aprilTrack2",false);
		geo=prefs.getBoolean("geo",false);
		geoTrack2=prefs.getBoolean("geoTrack2",false);
		
		ringerTutorial=prefs.getBoolean("ringerTutorial", false);
		aprilTutorial=prefs.getBoolean("aprilTutorial", false);
		geoTutorial=prefs.getBoolean("geoTutorial", false);
	}

	public boolean isRingerTrack2() {
		return ringerTrack2;
	}

	public boolean isApril() {
		return april;
	}

	public boolean isAprilTrack2() {
		return aprilTrack2;
	}

	public boolean isGeo() {
		return geo;
	}

	public boolean isGeoTrack2() {
		return geoTrack2;
	}

	public void setRingerTrack2(boolean ringerTrack2) {
		this.ringerTrack2 = ringerTrack2;
	}

	public void setApril(boolean april) {
		this.april = april;
	}

	public void setAprilTrack2(boolean aprilTrack2) {
		this.aprilTrack2 = aprilTrack2;
	}

	public void setGeo(boolean geo) {
		this.geo = geo;
	}

	public void setGeoTrack2(boolean geoTrack2) {
		this.geoTrack2 = geoTrack2;
	}

	public boolean isRingerTutorial() {
		return ringerTutorial;
	}

	public void setRingerTutorial(boolean ringerTutorial) {
		this.ringerTutorial = ringerTutorial;
	}

	public boolean isAprilTutorial() {
		return aprilTutorial;
	}

	public void setAprilTutorial(boolean aprilTutorial) {
		this.aprilTutorial = aprilTutorial;
	}

	public boolean isGeoTutorial() {
		return geoTutorial;
	}

	public void setGeoTutorial(boolean geoTutorial) {
		this.geoTutorial = geoTutorial;
	}
	
	
	
}
